{% extends "layout.html.twig" %}

{% block title "Password Change" %}


{% block content %}
	<form role="form">
		<div class="row">
			<div class="col-md-12">
				<h2>Email <span id="aj-pers-image"><img src="/bundles/acmeperson/images/ajax-loader.gif" /></span></h2>
				<p>Hier kannst Du Deine Email Adresse ändern</p>
				<p>(Sofern Du das änderst wird das dein neues Login-Account)</p>
				<p><span id="pers-message"></span></p>
			</div>
		</div>	
		<div class="row">
			<div class="col-md-6">
				<div class="form-group">
    				<label for="email">Email*</label>
    				<input type="email" class="form-control" id="email" value="{{ user.email }}" placeholder="Email">
  				</div>
			</div>
		</div>
		<div class="row">
			<div class="col-md-12">
				<div class="checkbox">
				    <label for="isbookemailsend">Willst Du eine Email erhalten bei einem Eintrag ins SELV-book ?</label>
				      {% if persons.isbookemailsend %}	
				      <input type="checkbox" id="isbookemailsend" checked='checked'>
				      {% else %}
				      <input type="checkbox" id="isbookemailsend">
				      {% endif %}
				    </label>
				</div>			
			</div>
		</div>
		<button type="submit" class="btn btn-default" id="sendpersdata">Submit</button>
		
	</form>
{% endblock %}


